﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TjZheng.Framework;

namespace TjZheng.Example.MVC.Controllers
{
    /// <summary>
    /// 编码规范
    /// </summary>
    public class StandardController : Controller
    {
        public ActionResult Invoke()
        {
            InvokeResult objInvokeResult = new InvokeResult();
            //objInvokeResult.ResultCode = "Error";
            //objInvokeResult.ResultMessage = "对不起，服务器异常";
            objInvokeResult.Data = new { foo = "foo1", zoo = "zoo1" };
            return Json(objInvokeResult, JsonRequestBehavior.AllowGet);
        }

    }
}
